[求助]产生正态分布随机数 | 您所在的位置:网站首页 › sas 矩阵函数 › [求助]产生正态分布随机数 |
NORMAL Function
generates a pseudo-random normal deviate NORMAL( seed) where seed is a numeric matrix or literal. The seed argument can be any integer value up to 231-1. The NORMAL function is a scalar function that returns a pseudo-random number having a normal distribution with a mean of 0 and a standard deviation of 1. The NORMAL function returns a matrix with the same dimensions as the argument. The first argument on the first call is used for the seed (or if that is 0, the system clock is used for the seed). This function is synonymous with the DATA step function RANNOR. The Box-Muller transformation of the UNIFORM function deviates is used to generate the numbers. |
CopyRight 2018-2019 实验室设备网 版权所有 |